package com.feri.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author lr
 * @date 2022/10/3
 */
@Data
@TableName("c_moodtype")
@NoArgsConstructor
public class Moodtype {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("uid")
    private Long uid;
    @TableField("name")
    private String name;

    public Moodtype(Long uid, String name) {
        this.uid = uid;
        this.name = name;
    }
}
